package com.lczyfz.istep.modules.openstack.api.neutron.model.securitygroup;

/**
 * ��ȫ�����ʵ����
 * @author clq
 *
 */
public class SecuritygroupRule {
	
	/** ��ȫ�����ID **/
	private String srId;
	
	/** ����ķ���:��ڻ���� **/
	private String srDirection;
	
	/** IPv4��IPv6������CIDR�б�ʾ�ĵ�ַ��������ڻ���ڹ���ƥ�� **/
	private String srEthertype;
	
	/** IPЭ�顣��ЧֵΪicmp�� tcp��udp����null */
	private String srProtocol;
	
	/** ��˰�ȫ����������Զ����UUID **/
	private String srRemoteGroupId;
	
	/** ��˰�ȫ���������Զ��IPǰ׺ **/
	private String srRemoteIpPrefix;
	
	/** ��˰�ȫ���������İ�ȫ��ID **/
	private String srSecurityGroupId;
	
	/** ��Ŀ��ID **/
	private String srProjectId;
	
	/** ��Ŀ��ID **/
	private String srTenantId;
	
	private String port_range_max;
	
	private String port_range_min;
	
	public String toString(){
		return  "SecuritygroupRule [srId=" + srId + ", srDirection=" + srDirection + ", srEthertype=" + srEthertype +
				", srProtocol=" + srProtocol+ ", srRemoteGroupId=" + srRemoteGroupId+  
				",srRemoteIpPrefix=" +srRemoteIpPrefix+ ",srSecurityGroupId=" + srSecurityGroupId+ ",srProjectId=" + srProjectId+ ",srTenantId=" + srTenantId+"]";
	}
	
	public String getSrId() {
		return srId;
	}

	public void setSrId(String srId) {
		this.srId = srId;
	}
	public String getSrDirection() {
		return srDirection;
	}

	public void setSrDirection(String srDirection) {
		this.srDirection = srDirection;
	}
	public String getSrEthertype() {
		return srEthertype;
	}

	public void setSrEthertype(String srEthertype) {
		this.srEthertype = srEthertype;
	}
	public String getSrProtocol() {
		return srProtocol;
	}

	public void setSrProtocol(String srProtocol) {
		this.srProtocol = srProtocol;
	}
	public String getSrRemoteGroupId() {
		return srRemoteGroupId;
	}

	public void setSrRemoteGroupId(String srRemoteGroupId) {
		this.srRemoteGroupId = srRemoteGroupId;
	}
	public String getSrRemoteIpPrefix() {
		return srRemoteIpPrefix;
	}

	public void setSrRemoteIpPrefix(String srRemoteIpPrefix) {
		this.srRemoteIpPrefix = srRemoteIpPrefix;
	}
	public String getSrSecurityGroupId() {
		return srSecurityGroupId;
	}

	public void setSrSecurityGroupId(String srSecurityGroupId) {
		this.srSecurityGroupId = srSecurityGroupId;
	}
	public String getSrProjectId() {
		return srProjectId;
	}

	public void setSrProjectId(String srProjectId) {
		this.srProjectId = srProjectId;
	}
	public String getSrTenantId() {
		return srTenantId;
	}

	public void setSrTenantId(String srTenantId) {
		this.srTenantId = srTenantId;
	}
	public String getSrPortMax() {
		return port_range_max;
	}

	public void setSrPortMax(String port_range_max) {
		this.port_range_max = port_range_max;
	}
	public String getSrPortMin() {
		return port_range_min;
	}

	public void setSrPortMin(String port_range_min) {
		this.port_range_min = port_range_min;
	}
}
